/**
 * 
 */
package cubelabs.nexus.service;

import cubelabs.nexus.dao.UserDAO;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import org.brickred.socialauth.Profile;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import cubelabs.nexus.entity.User;

/**
 * @author deva
 *
 */
@Service
public class NexusService {

	@Autowired
	private UserDAO userDAO;
//
	@Transactional
	public User registerUser(User  user)  {		
		user = userDAO.makePersistent(user);
		return user;
	}
	
}
